package indi.zhifa.recipe.bailan.framework.queue.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.recipe.bailan.framework.enums.entity.annotations.EnumDesc;
import lombok.AllArgsConstructor;
import lombok.Getter;

@EnumDesc(name = "值类型",desc = "值类型，整数、浮点、字符串、JSON")
@AllArgsConstructor
public enum EQueueValueType {

    DEFAULT(0,"默认","默认是字符串"),
    STRING(1,"字符串","普通字符串类型"),
    JSON(2,"JSON","JSON类型"),
    INT(3,"整型","整数类型"),
    LONG(4,"长整型","64字节整型");

    @EnumValue
    @Getter
    int code;
    @Getter
    String name;
    @Getter
    String desc;
}
